package com.example.demothree.service;

import com.example.demothree.bean.Customer;
import com.example.demothree.bean.Goods;
import com.example.demothree.bean.Suppliers;
import org.springframework.data.domain.Page;

public interface SysService {
    public Page<Goods> sysSpzl(Integer page,Integer size);
    //供应商资料
    public Page<Suppliers> sysGyszl(Integer page,Integer size);
    //删除供应商
    public void deletegyszl(Long id);
    //添加供应商
    public Suppliers addgys(Suppliers suppliers);
    //name查询供应商
    public Suppliers findgysByName(String name);
    //客户
    public Page<Customer> sysKhzl(Integer page,Integer size);
    //删除客户
    public void deletekhzl(Long id);
    //添加客户
    public Customer addkh(Customer customer);

}
